<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#import "/common/page.ftl" as p>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${this[0].getText("project_name")}</title>
<link type="text/css" href="${base}/static/css/style.css" rel="stylesheet" rev="stylesheet" />
<link rel="stylesheet" type="text/css" href="${base}/static/js/validate/css/screen.css" />


<script type="text/javascript" src="${base}/static/js/jquery.js"></script>
<script type="text/javascript" src="${base}/static/js/calendar/WdatePicker.js"></script>
<script type="text/javascript" src="${base}/static/js/validate/validate.js"></script>
<script type="text/javascript" src="${base}/static/js/validate/cmxforms.js"></script>
</head>
<body>

<div class="main_content" id="div1" style="display:block">
<br/>
<h2>四川省危险物申报登记信息</h2>
    <table cellspacing="0" class="datalist" style="width:80%">
		<tr>
			<th>申请单位详细名称：</th>
    		<td colspan="3">${dec.name!}</td>
    	</tr>	   
		<tr>
			<th>申报单位详细地址：</th>
    		<td colspan="3">${dec.corporationAddress!}</th>
    	</tr>	
    	<tr>
    		<th width="15%">申报年度：</th>
    		<td>${dec.declareYear!}</td>
			<th width="15%">开业年份：</th>
    		<td>${dec.openningYear!}</td>
    	</tr>
		<tr>
			<th>申报单位法人代码：</th>
    		<td>${dec.cooperationCode!}</td>
			<th>法人(或负责人)：</th>
    		<td>${dec.cooperation!}</td>
    	</tr>
		<tr>
			<th>邮政编码：</th>
    		<td>${dec.zipCode!}</td>
			<th>电话号码： </th>
    		<td>${dec.phoneNumber!}</td>
    	</tr>
		<tr>
			<th>传真号码：</th>
    		<td>${dec.faxNumber!}</td>
			<th>行业代码：</th>
    		<td>${dec.tradeCode!}</td>
    	</tr>
		<tr>
			<th>填表人：</th>
    		<td>${dec.createdUser!}</td>
			<th>单位环保负责人：</th>
    		<td>${dec.environmentalPrincipal!}</td>
    	</tr>
		<tr>
			<th>审核人：</th>
    		<td>${dec.assessor!}</td>
			<th>是否属于环统范围：</th>
    		<td><#if dec.needStat == 1>是<#else>否</#if>&nbsp;</td>
    	</tr>
    </table>
	 <input type="button" id="test1" value="下一页" />
</div>

<div class="main_content" id="div2" style="display:none">
<br/>
<h2>四川省危险物申报登记信息----单位基本信息</h2>
    <table cellspacing="0" class="datalist" style="width:70%">
    	<tr>
			<th width='20%'>年产值：</th>
    		<td width='60%'>${(dec.info.corporationGav)!} 万元</th>
    	</tr>
		<tr>
			<th>环保设施费用：</th>
    		<td>${(dec.info.facilitiesValue)!} 万元</th>
    	</tr>	   	
    	<tr>
			<th>缴纳排污费总额：</th>
    		<td>${(dec.info.sewageFees)!} 万元</th>
    	</tr>
		<tr>
			<th>年末职工总数：</th>
    		<td>${(dec.info.staffCount)!} 个</th>
    	</tr>
		<tr>
			<th>专职环保人员：</th>
    		<td>${(dec.info.environmentalCount)!} 个</th>
    	</tr>
		<tr>
			<th>年正常生产天数：</th>
    		<td>${(dec.info.produceDays)!} 天</th>
    	</tr>
		<tr>
			<th>单位占地面积：</th>
    		<td>${(dec.info.floorArea)!} 万平方米</th>
    	</tr>
		<tr>
			<th>危险废物转移的频次：</th>
    		<td>${(dec.info.transferFrequency)!} 次/年</th>
    	</tr>
		<tr>
			<th colspan="2" style="text-align:center">主要产品产量及有毒有害原辅材料耗量（最多填三种）</th>
    	</tr>
		<tr style="text-align:center">
			<td colspan="2">

			</td>
		</tr>
		<tr>
			<th colspan="2" style="text-align:center">危险废物综合利用情况（万元）</th>
    	</tr>
		<tr style="text-align:center">
			<td colspan="2">
				<table cellspacing="0" class="datalist" style="width:100%">
			        <tr>
						<td style="text-align:center">危险废物综合利用产品产值：</td>
						<td style="text-align:center">${(dec.info.dsGav)!}</td>
						<td style="text-align:center">危险废物综合利用产品利润：</td>
						<td style="text-align:center">${(dec.info.dsProfit)!}</td>
			    	</tr>
				</table>
			</td>
		</tr>
		<tr>
			<th colspan="2" style="text-align:center">危险废物产生的主要工艺</th>
    	</tr>
		<tr style="text-align:center">
			<td colspan="2">
				<table cellspacing="0" class="datalist" style="width:100%">
			        <tr>
						<td style="text-align:center"><textarea cols="75" rows="10">${(dec.info.produceDescription)!}</textarea></td>
			    	</tr>
				</table>
			</td>
		</tr>
    </table>
    <input type="button" id="test2" value="上一页" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" id="test3" value="下一页" />
</div>

<div class="main_content" id="div3" style="display:none">
<br/>
<h2>四川省危险物申报登记信息----具体情况调查表</h2>
	  <table cellspacing="0" class="datalist" style="width:80%">
		<tr>
			<th style="text-align:center">危险废物产生及去向情况表</th>
    	</tr>
		<tr style="text-align:left">
			<td>
				<table cellspacing="0" class="datalist" style="width:90%">
					<tr>
						<th style="text-align:center">废物编号</th>
						<th style="text-align:center">废物年生产量</th>
						<th style="text-align:center">废物年排放量</th>
						<th style="text-align:center">主要有害成份</th>
						<th style="text-align:center">年综合利用量</th>
						<th style="text-align:center">本单位综合利用量</th>
						<th style="text-align:center">年处置量</th>
						<th style="text-align:center">本单位年处置量</th>
						<th style="text-align:center">处置往年贮存量</th>
						<th style="text-align:center">年贮存量</th>
						<th style="text-align:center">历年单位已贮存量</th>
						<th style="text-align:center">废物转移频次</th>						
				    </tr>
					<#list dec.dests as dest>
			        <tr>
	                    <td style="text-align:center">${dest.grabage.code!}&nbsp;</td>
						<td style="text-align:center">${dest.produceAmount!}&nbsp;</td>
						<td style="text-align:center">${dest.emissionAmount!}&nbsp;</td>
						<td style="text-align:center">${dest.mainComponents!}&nbsp;</td>
						<td style="text-align:center">${dest.utilizedAmount!}&nbsp;</td>
						<td style="text-align:center">${dest.corporationUtilizedAmount!}&nbsp;</td>
						<td style="text-align:center">${dest.disposeAmount!}&nbsp;</td>
						<td style="text-align:center">${dest.corporationDisposeAmount!}&nbsp;</td>
						<td style="text-align:center">${dest.disposeStockPast!}&nbsp;</td>
						<td style="text-align:center">${dest.stockAmount!}&nbsp;</td>
						<td style="text-align:center">${dest.stockAmountYears!}&nbsp;</td>
						<td style="text-align:center">${dest.transferFrequency!}&nbsp;</td>
			    	</tr>
					</#list>
				</table>
			</td>
		</tr>
		<tr>
			<th style="text-align:center">危险废物综合利用或处理设施情况表</th>
    	</tr>
		<tr style="text-align:left">
			<td>
				<table cellspacing="0" class="datalist" style="width:90%">
					<tr>
						<th style="text-align:center">设备编号</th>
						<th style="text-align:center">设备名称</th>
						<th style="text-align:center">固废编号</th>
						<th style="text-align:center">设备处理能力</th>
						<th style="text-align:center">设备台数</th>
						<th style="text-align:center">处理方法</th>
						<th style="text-align:center">年运行天数</th>
						<th style="text-align:center">运行状况</th>
						<th style="text-align:center">年运行费用</th>
						<th style="text-align:center">投入时间</th>
				    </tr>
					<#list dec.facis as faci>
			        <tr>
						<td style="text-align:center">${faci.facilitiesId!}&nbsp;</td>
						<td style="text-align:center">${faci.name!}&nbsp;</td>
						<td style="text-align:center">${faci.grabageId!}&nbsp;</td>
						<td style="text-align:center">${faci.capacity!}&nbsp;</td>
						<td style="text-align:center">${faci.amount!}&nbsp;</td>
						<td style="text-align:center">${faci.operateMethod!}&nbsp;</td>
						<td style="text-align:center">${faci.dayOfYear!}&nbsp;</td>
						<td style="text-align:center">${faci.operateStatus!}&nbsp;</td>
						<td style="text-align:center">${faci.charge!}&nbsp;</td>
						<td style="text-align:center">${faci.operateYears!}&nbsp;</td>
			    	</tr>
					</#list>
				</table>
			</td>
		</tr>
    </table>
    <input type="button" id="test4" value="上一页" />&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" id="test5" value="下一页" />
</div>


<div class="main_content" id="div4" style="display:none">
<br/>
<h2>四川省危险物申报登记信息----申报单位承诺意见（对真实、全面申报的承诺）</h2>
  	<table cellspacing="0" class="datalist" style="width:60%">
    	<tr>
			<th>承诺意见</th>
    		<td><textarea cols="75" rows="20">${(dec.info.corporationPromise)!}</textarea></th>
    	</tr>
    </table>
    <input type="button" id="test6" value="上一页" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	 <#if canAudit><input type="button"  value="审核" onclick="audit();"/></#if>
</div>
<#if canAudit>
<form id="allform" action='${base}/produce/audit/check' method='post'>
<div class="main_content" id="div5" style="display:none">
  	<table cellspacing="0" class="datalist" style="width:60%">
    	<tr>
			<th>审核意见</th>
    		<td><textarea cols="75" rows="20" name="audit.auditcmmt"></textarea></th>
    	</tr>
    </table>
	  审核通过  <input type="radio" name="dec.status" value="1"/>&nbsp;&nbsp;&nbsp;
	  审核不通过<input type="radio" name="dec.status" value="-1"/>&nbsp;&nbsp;&nbsp;
	  <input type="hidden" name="dec.id" value="${dec.id!}"/>
	  <input type="submit"  value="提交审核" />
</div>
</form>
</#if>
<script type="text/javascript">
$(document).ready(function(){
	  $("#test1").click(
		  function(){
			   $("#div1").toggle("slow");
			   $("#div2").toggle("slow");
		  }
	  );
	 
	 $("#test2").click(
		  function(){
			   $("#div1").toggle("slow");
			   $("#div2").toggle("slow");
		  }
      );
	  
	 $("#test3").click(
		  function(){
			   $("#div2").toggle("slow");
			   $("#div3").toggle("slow");
		  }
     );
	 
	$("#test4").click(
	  function(){
		   $("#div2").toggle("slow");
		   $("#div3").toggle("slow");
	  }
    );
	
	  $("#test5").click(
		  function(){
			   $("#div3").toggle("slow");
			   $("#div4").toggle("slow");
		  }
	  );
	  
	 $("#test6").click(
	   function(){
		   $("#div3").toggle("slow");
		   $("#div4").toggle("slow");
	   }
    );
	  
 });
 
 function audit(){
 	 $("#div5").toggle("slow");
 }
</script>
</body>
</html>
